package com.design.patterns.front;

/**
 * @Author: jinxuan
 * @Date: 2021/3/4 16:17
 */
public class FrontControllerPatternDemo {
    public static void main(String[] args) {
        FrontController frontController = new FrontController();
        frontController.dispatchRequest("HOME");
        frontController.dispatchRequest("STUDENT");
    }
}